/*
 * @Author: yxiawen
 * @Date: 2022-04-24 14:53:31
 * @LastEditTime: 2022-05-30 09:32:25
 * @LastEditors: yxiawen
 * @Description:
 * @FilePath: /study-ice-vite/src/routes.ts
 */
import { IRouterConfig } from "ice";
import BackendLayOut from "@/pages/Backend/BasicLayout";
import routers from "@/routers";

const routerConfig: IRouterConfig[] = [
  {
    path: "/Backend",
    component: BackendLayOut,
    children: routers.Backend
  },
  {
    path: "/",
    redirect: "/Backend"
  }
];

export default routerConfig;
